package com.sskj.trafficcontrol.model.pojo;

import java.util.*;

/**
 * @author zhao kuo
 * @date 2019-01-29
 */
public class TcUser implements java.io.Serializable {

    // Fields

    private Integer id;
    private String username;
    private String password;
    // 1:用户2管理员
    private Integer type;
    private Date createTime;
    private Date modifyTime;

    // Constructors

    /**
     * default constructor
     */
    public TcUser() {
    }

    /**
     * full constructor
     */
    public TcUser(String username, String password, Integer type, Date createTime, Date modifyTime) {
        this.username = username;
        this.password = password;
        this.type = type;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
    }

    // Property accessors

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return this.username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 1:用户2管理员
     */
    public Integer getType() {
        return this.type;
    }

    /**
     * 1:用户2管理员
     */
    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return this.modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

}